home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gMissionExample
- if voidp(gMissionExample) then
- set gMissionExample to 0
- end if
- set vArtSprite to 10
- if the loc of sprite vArtSprite = point(320, 240) then
- set the loc of sprite vArtSprite to point(-999, -999)
- else
- set gMissionExample to gMissionExample + 1
- if gMissionExample > 3 then
- set gMissionExample to 1
- end if
- set the member of sprite vArtSprite to member ("mission" & string(gMissionExample))
- set the loc of sprite vArtSprite to point(320, 240)
- end if
- end
-